package com.zego.wawaji.ui.play.bean;

import com.zego.wawaji.base.data.BaseData;

import org.json.JSONArray;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Su on 2017/12/8.
 */
public class LuckyUserList extends BaseData {
    private List<LuckyUser> luckyUserList = new ArrayList<>();

    @Override
    public void parseJson(String jsonStr) {
        JSONArray jsonArray = getJsonArray(jsonStr);
        this.luckyUserList = (List<LuckyUser>) getBaseDataList(jsonArray, LuckyUser.class);
    }

    public List<LuckyUser> getLuckyUserList() {
        return luckyUserList;
    }
}
